package demo.server;


import demo.pojo.RegisterRequest;
import demo.pojo.UserInfoRequest;
import demo.pojo.UserInfoResponse;
import demo.pojo.UserLoginResponse;
import demo.pojo.response.Result;

public interface UserService {
    UserLoginResponse login(UserInfoRequest user);

    UserInfoResponse getUserInfo(Integer userId);

    UserInfoResponse selectAuthorInfoByBlogId(Integer blogId);

    Integer register(RegisterRequest request);
}
